From: | Jesper Svennevid |
Date: | 04 Aug 99 at 08:54:41 |
Subject: | RE: Into chip |
From: "Jesper Svennevid" <jesper@fxrealm.com>
> From: Volker Barthelmann <volker@vb.franken.de>
>
> On Tue, 3 Aug 1999, Jens Granseuer wrote:
> > Lee Atkins <lee@loonyjuicesoftware.freeserve.co.uk> wrote:
> >
> > > How do I specify that an array has to go into chip ram using VBCC.
> > > I want to stick some bitplanes in there and I dont want to
> have to allocate
> > > some chip and copy it in.
>
> __chip mytype myarray[]={...};
>
> > Not at all. You'll have to allocate some chip mem manually and copy
> > the bitplanes into it yourself.
>
> Recent versions of vbcc support the __chip keyword.
But that wouldn't be quite proper imho :) ... 1) Gfx-board support is
very non-existant 2) It does not guarantee 8-byte alignment, which is
a requirement on AGA-equipped systems. Using AllocBitMap() or
AllocRaster() guarantees that alignment.